package org.example.template.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@NoArgsConstructor
@AllArgsConstructor
@Data
@ToString
@TableName(value = "air_sensor_info")
public class Sensor {
    @TableId(type = IdType.AUTO)
    String id;
    Float temperature;//温度
    Float temperature1;//温度
    Float humidity;//湿度
    Float humidity1;//湿度
    Float pm1;
    Float pm2;
    Float pm3;
    Integer pm4;
    Integer pm5;
    Integer pm6;
    Integer pm7;
    Float   airPressure;
    @TableField(fill = FieldFill.INSERT)
    String createTime;

}
